﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Import.aspx.cs" Inherits="BaoJian.WebManager.Manager.Data.Import" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Untitled Page</title> 
     <link href="../../style/Style.css" type="text/css" rel="stylesheet">
     <script  type="text/javascript" language="javascript">
      function Confirm()
      {
        if(window.confirm("是否确定导入选择的文件？请注意：该操作不可恢复！") == true)
        {
            return true;
        }
        else
        {
            return false;
        }
      }
     </script>
</head>
<body background="../../images/right-bj.gif" bottommargin="0">
    <form id="form1" runat="server">
    <div>
      <div><asp:Label id="msg" runat="server" ForeColor="Red"></asp:Label> </div>    
      <div>
     
      
          <asp:FileUpload ID="FileUpload1" runat="server"  /> <asp:Button id="UploadButton" 
           Text="上传文件"
           OnClick="UploadButton_Click"
           runat="server">
       </asp:Button>    

     
      
      </div>    
      <div>
        请选择数据文件：<asp:DropDownList ID="AccessList" runat="server">
        </asp:DropDownList>
      </div> 
      <div>是否导入为发布状态:<asp:RadioButtonList ID="Publish" runat="server" RepeatDirection="Horizontal">
              <asp:ListItem Value="true">是</asp:ListItem>
              <asp:ListItem Selected="True" Value="false">否</asp:ListItem>
          </asp:RadioButtonList>
        <br />
      </div>      
       <div>请选择上传的身份:
           <asp:DropDownList ID="DrpUser" runat="server" Height="16px" Width="150px">
           </asp:DropDownList>
       <br />
      </div>
      <div >      
          <asp:Button ID="Save" runat="server"  OnClientClick="return Confirm();"  Text="导入" onclick="Save_Click" />      
      </div>
    </div>
    </form>
</body>
</html>
